

default_age = 28
count = 0
while count < 3:
    guess_age = int(input('Guess the age: '))
    if guess_age == default_age:
        print('OK! You got it')
        break
    elif guess_age < default_age:
        print('Oh, you need geuss bigger')
    else:
        print('Oh, you need guess smaller')
    count += 1
else:
    print('you have tried too many times..')

for i in range(3):
    guess_age = int(input('Guess the age: '))
    if guess_age == default_age:
        print('OK! You got it')
        break
    elif guess_age < default_age:
        print('Oh, you need geuss bigger')
    else:
        print('Oh, you need guess smaller')    
else:
    print('you have tried too many times..')

count = 0
while count < 3:
    guess_age = int(input('Guess the age: '))
    if guess_age == default_age:
        print('OK! You got it')
        break
    elif guess_age < default_age:
        print('Oh, you need geuss bigger')
    else:
        print('Oh, you need guess smaller')
    count += 1
    if count == 3:
        go_on = input('do want to keep guessing..?')
        if go_on != 'n':
            count = 0
